package model

import "time"

type MappingRule struct {
	ID          uint   `gorm:"primaryKey"`
	SourceField string `gorm:"type:varchar(100);comment:源字段"`
	TargetField string `gorm:"type:varchar(100);comment:目标字段"`
	RuleType    string `gorm:"type:varchar(50);comment:规则类型"`
	Expression  string `gorm:"type:text;comment:转换表达式"`
	CreatedAt   time.Time
	UpdatedAt   time.Time
}
